import Vue from 'vue'
import Vuex from 'vuex'

// 使用插件
Vue.use(Vuex)

// 引入小仓库
import homeStore from './home/homeStore'
import searchStore from './search/searchStore'

// 对外暴漏小仓库
export default new Vuex.Store({
  modules: {
    homeStore,
    searchStore
  }
})
